package com.cnunicom.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @Author: dingziyuan
 * @Date: 2020/2/7/007 10:14
 * @Description: 实现接口来配置Websocket请求的路径和拦截器
 */
@Configuration
public class WebSocketH5Config {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
